package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the REGOBJMAP database table.
 * 
 */
@Entity
@Table(name="REGOBJMAP")
public class Regobjmap implements Serializable {
	private static final long serialVersionUID = 1L;
	private RegobjmapPK id;
	private String allowdel;
	private String allowedit;
	private BigDecimal recmax;
	private BigDecimal recmin;
	private String regfields;
	private BigDecimal regorder;
	private String uidfield;

    public Regobjmap() {
    }


	@EmbeddedId
	public RegobjmapPK getId() {
		return this.id;
	}

	public void setId(RegobjmapPK id) {
		this.id = id;
	}
	

	@Column(length=1)
	public String getAllowdel() {
		return this.allowdel;
	}

	public void setAllowdel(String allowdel) {
		this.allowdel = allowdel;
	}


	@Column(length=1)
	public String getAllowedit() {
		return this.allowedit;
	}

	public void setAllowedit(String allowedit) {
		this.allowedit = allowedit;
	}


	public BigDecimal getRecmax() {
		return this.recmax;
	}

	public void setRecmax(BigDecimal recmax) {
		this.recmax = recmax;
	}


	public BigDecimal getRecmin() {
		return this.recmin;
	}

	public void setRecmin(BigDecimal recmin) {
		this.recmin = recmin;
	}


	@Column(length=4000)
	public String getRegfields() {
		return this.regfields;
	}

	public void setRegfields(String regfields) {
		this.regfields = regfields;
	}


	public BigDecimal getRegorder() {
		return this.regorder;
	}

	public void setRegorder(BigDecimal regorder) {
		this.regorder = regorder;
	}


	@Column(nullable=false, length=10)
	public String getUidfield() {
		return this.uidfield;
	}

	public void setUidfield(String uidfield) {
		this.uidfield = uidfield;
	}

}